# D:\Python1\017\3.isdigit.py
str = "123456"
print (str.isdigit())

str = "Salem nurli alem!!!"
print (str.isdigit())